package com.str;

public class StrLength {
	public static void main(String[] args) {

		String s = "{\"points\":[{\"lon\":121.48150,\"lat\":31.21130},{\"lon\":121.48150,\"lat\":31.21130},{\"lon\":121.48119,\"lat\":31.21120},{\"lon\":121.48081,"
				+ "\"lat\":31.21103},{\"lon\":121.48014,\"lat\":31.21058},{\"lon\":121.48014,\"lat\":31.21058},{\"lon\":121.47988,\"lat\":31.21040},{\"lon\":121.47988,"
				+ "\"lat\":31.21040},{\"lon\":121.47915,\"lat\":31.21007},{\"lon\":121.47915,\"lat\":31.21007},{\"lon\":121.47808,\"lat\":31.20978},{\"lon\":121.47808,"
				+ "\"lat\":31.20978},{\"lon\":121.47640,\"lat\":31.20931},{\"lon\":121.47640,\"lat\":31.20931},{\"lon\":121.47594,\"lat\":31.20920},{\"lon\":121.47594,"
				+ "\"lat\":31.20920},{\"lon\":121.47568,\"lat\":31.20915},{\"lon\":121.47568,\"lat\":31.20915},{\"lon\":121.47394,\"lat\":31.20879},{\"lon\":121.47394,"
				+ "\"lat\":31.20879},{\"lon\":121.47251,\"lat\":31.20840},{\"lon\":121.47217,\"lat\":31.20825},{\"lon\":121.47217,\"lat\":31.20825},{\"lon\":121.47188,"
				+ "\"lat\":31.20801},{\"lon\":121.47172,\"lat\":31.20777},{\"lon\":121.47127,\"lat\":31.20652},{\"lon\":121.47119,\"lat\":31.20641},{\"lon\":121.47119,"
				+ "\"lat\":31.20641},{\"lon\":121.47113,\"lat\":31.20625},{\"lon\":121.47113,\"lat\":31.20625},{\"lon\":121.47097,\"lat\":31.20599},{\"lon\":121.47078,"
				+ "\"lat\":31.20586},{\"lon\":121.47078,\"lat\":31.20586},{\"lon\":121.47033,\"lat\":31.20573},{\"lon\":121.47033,\"lat\":31.20573},{\"lon\":121.46959,"
				+ "\"lat\":31.20560},{\"lon\":121.46959,\"lat\":31.20560},{\"lon\":121.46951,\"lat\":31.20558},{\"lon\":121.46951,\"lat\":31.20558},{\"lon\":121.46749,"
				+ "\"lat\":31.20521},{\"lon\":121.46749,\"lat\":31.20521},{\"lon\":121.46695,\"lat\":31.20497},{\"lon\":121.46695,\"lat\":31.20497},{\"lon\":121.46658,"
				+ "\"lat\":31.20480},{\"lon\":121.46658,\"lat\":31.20480},{\"lon\":121.46637,\"lat\":31.20469},{\"lon\":121.46637,\"lat\":31.20469},{\"lon\":121.46599,"
				+ "\"lat\":31.20450},{\"lon\":121.46599,\"lat\":31.20450},{\"lon\":121.46581,\"lat\":31.20440},{\"lon\":121.46581,\"lat\":31.20440},{\"lon\":121.46533,"
				+ "\"lat\":31.20415},{\"lon\":121.46533,\"lat\":31.20415},{\"lon\":121.46466,\"lat\":31.20382},{\"lon\":121.46466,\"lat\":31.20382},{\"lon\":121.46434,"
				+ "\"lat\":31.20370},{\"lon\":121.46415,\"lat\":31.20367},{\"lon\":121.46415,\"lat\":31.20367},{\"lon\":121.46375,\"lat\":31.20359},{\"lon\":121.46375,"
				+ "\"lat\":31.20359},{\"lon\":121.46344,\"lat\":31.20354},{\"lon\":121.46344,\"lat\":31.20354},{\"lon\":121.46279,\"lat\":31.20343},{\"lon\":121.46279,"
				+ "\"lat\":31.20343},{\"lon\":121.46224,\"lat\":31.20332},{\"lon\":121.46224,\"lat\":31.20332},{\"lon\":121.46095,\"lat\":31.20302},{\"lon\":121.46095,"
				+ "\"lat\":31.20302},{\"lon\":121.46087,\"lat\":31.20300},{\"lon\":121.46087,\"lat\":31.20300},{\"lon\":121.46027,\"lat\":31.20284},{\"lon\":121.46027,"
				+ "\"lat\":31.20284},{\"lon\":121.45868,\"lat\":31.20238},{\"lon\":121.45868,\"lat\":31.20238},{\"lon\":121.45865,\"lat\":31.20237},{\"lon\":121.45865,"
				+ "\"lat\":31.20237},{\"lon\":121.45806,\"lat\":31.20221},{\"lon\":121.45806,\"lat\":31.20221},{\"lon\":121.45735,\"lat\":31.20202},{\"lon\":121.45735,"
				+ "\"lat\":31.20202},{\"lon\":121.45647,\"lat\":31.20184},{\"lon\":121.45623,\"lat\":31.20182},{\"lon\":121.45623,\"lat\":31.20182},{\"lon\":121.45565,"
				+ "\"lat\":31.20155},{\"lon\":121.45565,\"lat\":31.20155},{\"lon\":121.45457,\"lat\":31.20108},{\"lon\":121.45457,\"lat\":31.20108},{\"lon\":121.45431,"
				+ "\"lat\":31.20099},{\"lon\":121.45431,\"lat\":31.20099},{\"lon\":121.45330,\"lat\":31.20065},{\"lon\":121.45330,\"lat\":31.20065},{\"lon\":121.45236,"
				+ "\"lat\":31.20033},{\"lon\":121.45236,\"lat\":31.20033},{\"lon\":121.45146,\"lat\":31.20002},{\"lon\":121.45146,\"lat\":31.20002},{\"lon\":121.45046,"
				+ "\"lat\":31.19969},{\"lon\":121.45046,\"lat\":31.19969},{\"lon\":121.45035,\"lat\":31.19965},{\"lon\":121.45035,\"lat\":31.19965},{\"lon\":121.45025,"
				+ "\"lat\":31.19961},{\"lon\":121.45025,\"lat\":31.19961},{\"lon\":121.44923,\"lat\":31.19921},{\"lon\":121.44923,\"lat\":31.19921},{\"lon\":121.44851,"
				+ "\"lat\":31.19891},{\"lon\":121.44851,\"lat\":31.19891},{\"lon\":121.44779,\"lat\":31.19861},{\"lon\":121.44779,\"lat\":31.19861},{\"lon\":121.44743,"
				+ "\"lat\":31.19846},{\"lon\":121.44743,\"lat\":31.19846},{\"lon\":121.44655,\"lat\":31.19808},{\"lon\":121.44655,\"lat\":31.19808},{\"lon\":121.44555,"
				+ "\"lat\":31.19765},{\"lon\":121.44555,\"lat\":31.19765},{\"lon\":121.44474,\"lat\":31.19730},{\"lon\":121.44474,\"lat\":31.19730},{\"lon\":121.44465,"
				+ "\"lat\":31.19726},{\"lon\":121.44465,\"lat\":31.19726},{\"lon\":121.44369,\"lat\":31.19673},{\"lon\":121.44369,\"lat\":31.19673},{\"lon\":121.44341,"
				+ "\"lat\":31.19657},{\"lon\":121.44341,\"lat\":31.19657},{\"lon\":121.44190,\"lat\":31.19563},{\"lon\":121.44190,\"lat\":31.19563},{\"lon\":121.44173,"
				+ "\"lat\":31.19552},{\"lon\":121.44173,\"lat\":31.19552},{\"lon\":121.44162,\"lat\":31.19546},{\"lon\":121.44162,\"lat\":31.19546},{\"lon\":121.44139,"
				+ "\"lat\":31.19531},{\"lon\":121.44139,\"lat\":31.19531},{\"lon\":121.44124,\"lat\":31.19522},{\"lon\":121.44124,\"lat\":31.19522},{\"lon\":121.44110,"
				+ "\"lat\":31.19513},{\"lon\":121.44110,\"lat\":31.19513},{\"lon\":121.44043,\"lat\":31.19472},{\"lon\":121.44043,\"lat\":31.19472},{\"lon\":121.44057,"
				+ "\"lat\":31.19439},{\"lon\":121.44057,\"lat\":31.19439},{\"lon\":121.44086,\"lat\":31.19388},{\"lon\":121.44086,\"lat\":31.19388},{\"lon\":121.44072,"
				+ "\"lat\":31.19380},{\"lon\":121.44072,\"lat\":31.19380},{\"lon\":121.44053,\"lat\":31.19369},{\"lon\":121.44053,\"lat\":31.19369},{\"lon\":121.44008,"
				+ "\"lat\":31.19343},{\"lon\":121.44008,\"lat\":31.19343},{\"lon\":121.44020,\"lat\":31.19319},{\"lon\":121.44020,\"lat\":31.19319},{\"lon\":121.44029,"
				+ "\"lat\":31.19319}]}";
		String ss[] = s.split("}");
		System.out.println(ss.length);
	}

}
